package enums;

/**
 * @ClassName ErrorEnum
 * @Deacription 错误枚举
 * @Author jianhua.hong
 * @Date 2019/10/10 10:25
 * @Version 1.0
 **/
public enum ErrorEnum {

	SUCCESS("200", "成功"),
	ERROR("400", "失败"),
	;
	private String code;

	private String message;

	ErrorEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
